package io.renren.modules.test.usecase.utils;

public class CaseUtils {
    public static String statusUtils(int caseStatus){
        switch (caseStatus){
            case 1: return "失败";
            case 2: return "新建";
            case 3: return "进行中";
            case 4: return "完成";
            default: throw new RuntimeException();
        }
    }

    public static String levelUtils(int levelStatus){
        switch (levelStatus){
            case 1: return "致命";
            case 2: return "严重";
            case 3: return "一般";
            case 4: return "建议";
            default: throw new RuntimeException();
        }
    }
}
